package com.zxbit.flash.response;

import com.zxbit.flash.base.BaseResponse;
import com.zxbit.flash.bean.FaceBookLoginData;
import com.zxbit.flash.utils.StringUtils;

public class FaceBookLoginResponse extends BaseResponse<FaceBookLoginData> {

    private static final long serialVersionUID = -8923152145705222972L;

    @Override
    public boolean hasData() {
        return getData() != null && !StringUtils.isEmpty(getData().getToken());
    }
}
